﻿<%@ Page Language="C#" MasterPageFile="~/System/MasterPageTra.master" AutoEventWireup="true" CodeFile="TraBidPlanList.aspx.cs" Inherits="Bidder_TraBidPlanList" Title="Untitled Page" %>
<%@ Register Src="../System/DbPageFlip.ascx" TagName="DbPageFlip" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<script language="vbscript" src="../Common/yz.vbs"></script>
<script language="javascript" src="../common/javascript/calendar.js" type="text/javascript"></script>

    <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
            <td style="width: 4px">
                <img src="../images/intro_left.gif" width="4" height="34"></td>
            <td class="intro_wordbg">
               采购单管理</td>
            <td background="../images/intro_bg.gif">
                <img src="../images/intro_right.jpg" width="118" height="34"></td>
        </tr>
        
    </table>
    <table id="tabData" width="98%" border="1" align="center" cellpadding="2" cellspacing="1">

        <tr>
            <td align="right">
               开始配送时间：</td>
            <td>
              <asp:TextBox ID="txtStartTime" runat="server" onclick="javascript:fPopCalendar(this,this);"
                        dataType="Date" format="ymd" require="true"   DateTimeOnly="起始时间" Width="185px"></asp:TextBox></td>
                
            <td align="right">
                截至配送时间：</td>
            <td>
              <asp:TextBox ID="txtEndTime" runat="server" onclick="javascript:fPopCalendar(this,this);"
                        dataType="Date" format="ymd" require="true"   DateTimeOnly="截至时间" Width="185px"></asp:TextBox></td>
        </tr>
                <tr>
            <td align="right">
                采购单名称：</td>
            <td>
                <asp:TextBox ID="txtPlanName" runat="server"  InvertedComma="采购单名称" Width="185px"></asp:TextBox></td>
            <td align="right"></td>
            <td>
                <asp:DropDownList ID="DrBuyStatus" runat="server"  Width="185px">
                </asp:DropDownList></td>
            
        </tr>
        <tr >   
            <td align="center" colspan='4'><asp:Button ID="Button6" runat="server"   Text="查 询" CssClass="button_bg"  Width="60px"/>&nbsp;&nbsp;
            </td>
        </tr>
       
    </table>
    <asp:DataList ID="DlAttorney" runat="server" Width="98%" CssClass='table_table' HeaderStyle-CssClass='table_title'>
        <ItemStyle CssClass="table_td" />
        <AlternatingItemStyle CssClass="table_td2" />
        <HeaderTemplate>
            <table width='98%'>
                <tr>
                    <td  nowrap width="8%">
                        流水号</td>
                    <td nowrap width="14%">
                        采购计划名称</td>
                    <td nowrap width="14%">
                        采购医院</td>
                    <td nowrap width="14%">
                        开始配送时间</td>
                    <td nowrap width="14%">
                        截至配送时间</td>
                    <td nowrap width="8%">
                        采购单状态</td>
                    <td nowrap width="14%">
                        建单时间</td>
                        
                        <td align="center" width="8%">
                        处理</td>
                        
                        
                </tr>
            </table>
        </HeaderTemplate>
        <ItemTemplate>
            <table width='98%'>
                <tr>
                    <td width="8%" >
                        <%# DataBinder.Eval(Container.DataItem, "BuyPlanId")%>
                    </td>
                    
                    <td width="14%" >
                        <%# DataBinder.Eval(Container.DataItem, "PlanName")%>
                    </td>
                    <td width="14%" >
                        <%# DataBinder.Eval(Container.DataItem, "hospitalname")%>
                    </td>
                    <td width="14%" >
                       <%# Convert.ToDateTime(DataBinder.Eval(Container.DataItem, "StartTime")).ToShortDateString()%>
                    </td>
                    
                    <td width="23%" >
                        <%# Convert.ToDateTime(DataBinder.Eval(Container.DataItem, "EndTime")).ToShortDateString()%>
                    </td>                               

                    <td width="8%" >
                        <%# DataBinder.Eval(Container.DataItem, "BuyStatus")%>
                    </td>
                    <td width="13%" >
                        <%# Convert.ToDateTime(DataBinder.Eval(Container.DataItem, "BuildTime")).ToShortDateString()%>
                    </td>
                    <td width="7%">
                        <a href='PurchaseGoods_deal.aspx?BuyPlanId=<%# DataBinder.Eval(Container.DataItem, "BuyPlanId")%>&projectid=<%# _strProjectId%>'
                           target="_blank">采购单详情</a>
                     </td>
                     
                     
                </tr>
            </table>
        </ItemTemplate>
        <HeaderStyle CssClass="table_title" />
    </asp:DataList>
   
    <uc1:DbPageFlip ID="DbPageFlip1" runat="server" />



</asp:Content>

